/**
  ******************************************************************************
  * STM32 Bootloader Header
  ******************************************************************************
  * @author Akos Pasztor
  * @file   bootloader.h
  * @brief  This file contains the bootloader configuration parameters,
  *	        function prototypes and other required macros and definitions.
  * @see    Please refer to README for detailed information.
  ******************************************************************************
  * @copyright (c) 2019 Akos Pasztor.                   https://akospasztor.com
  ******************************************************************************
**/

#ifndef __BOOTLOADER_H
#define __BOOTLOADER_H


/* 	
	#define REG32(addr)                  (*(volatile uint32_t *)(uint32_t)(addr))
	#define REG16(addr)                  (*(volatile uint16_t *)(uint32_t)(addr))
	#define REG8(addr)                   (*(volatile uint8_t *)(uint32_t)(addr))
*/

extern void jumpToApplication(void);
extern void jumpToBootloader(void);

#endif /* __BOOTLOADER_H */
